package com.manage.service;

import com.manage.pojo.Shoes;
import com.manage.pojo.operation.ShoesList;
import com.manage.utils.PagedResult;

public interface ShoesService {
    /**
     * @Description: 鞋商品添加保存
     */
    public void saveShoes(Shoes shoes);

    /**
     * @Description: 判断鞋id是否存在
     */
    public boolean queryShoesIsExit(String shoesId);

    /**
     * @Description: 鞋删除
     */
    public void shoesDelete(String shoesId);

    /**
     * @Description: 鞋更新
     */
    public void updateShoesInfo(Shoes shoes);

    /**
     * @Description: 根据鞋id鞋查询信息
     */
    public ShoesList queryShoesByShoesId(String shoesId);

    /**
     * @Description: 根据鞋类别查询鞋列表
     */
    public PagedResult queryShoesByShoesType(Integer page, Integer pageSize, String shoesType);

    /**
     * @Description: 根据用户id鞋查询信息
     */
    public PagedResult queryShoesByUserId(Integer page, Integer pageSize, String userId);
    /**
     * @Description: 查询所有信息
     */
    public PagedResult queryAllShoes(Integer page, Integer pageSize);
}
